package xxl.robotlegs.extensions.contextview.impl 
{
	import xxl.robotlegs.extensions.viewmanager.api.IViewManager;
	import xxl.robotlegs.framework.api.IConfig;
	
	/**
	 * ...
	 * @author XXL
	 */
	public class ContextViewListenerConfig implements IConfig 
	{
		[Inject]
		public var contextView:ContextView;
		
		[Inject]
		public var viewManager:IViewManager;
		
		public function ContextViewListenerConfig() 
		{
			
		}
		
		/* INTERFACE xxl.robotlegs.framework.api.IConfig */
		
		public function configure():void 
		{
			viewManager.addContainer(contextView.view);
		}
		
	}

}